/*
 * 功能：保存身份令牌到Cookie
 *
 */
 import Cookies from 'js-cookie'


 export function saveLoginInfo(username, password){
   return Cookies.set('login.username', username)
   return Cookies.set('login.password', password)
}
 export function getLoginInfo() {
   return {
     username: Cookies.get('login.username'),
     password: Cookies.get('login.password')
   }
 }
